# coding: utf-8
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "vagrant-omnibus/version"

Gem::Specification.new do |spec|
  spec.name          = "vagrant-omnibus"
  spec.version       = VagrantPlugins::Omnibus::VERSION
  spec.authors       = ["Seth Chisamore"]
  spec.email         = ["schisamo@chef.io"]
  spec.description   = "A Vagrant plugin that ensures the desired version of" \
                       " Chef is installed via the platform-specific Omnibus" \
                       " packages."
  spec.summary       = spec.description
  spec.homepage      = "https://github.com/chef/vagrant-omnibus"
  spec.license       = "Apache 2.0"

  spec.files         = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
  spec.executables   = spec.files.grep(/^bin\//) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(/^(test|spec|features)\//)
  spec.require_paths = ["lib"]

  spec.add_development_dependency "bundler", "~> 1.3"
  spec.add_development_dependency "rake", "~> 11.0"
  spec.add_development_dependency "rspec", "~> 3.0"
  spec.add_development_dependency "chefstyle", "~> 0.4.0"
end
